import java.util.*;
class A{
	float a;
	static float b;
	void setA(float a) {
		this.a=a;
		
	}
	void setB(float b) {
		this.b=b;
	}
	float getA() {
		return a;
	}
	float getB() {
		return b;
	}
	void inputA() {
		System.out.println(a);
	}
	static void inputB() {
		System.out.println(b);
	}
}
public class Ex4_2 {
	public static void main(String args[]) {
		A b=new A();
		b.setB(100);
		b.inputB();
		A cat=new A();
		A dog=new A();
		cat.setA(200);
		cat.setB(400);
		dog.setA(200);
		dog.setB(900);
		cat.inputA();
		cat.inputB();
		dog.inputA();
		dog.inputB();
	}
	

}
